package com.dk.service;

import com.dk.pojo.Type;

import java.util.List;

public interface TypeService {
    List<Type> getInfo(String cname);

    int insert(Type type);

    Type selectByCid(Integer cid);

    int updaateInfo(Type type);

    int deleteById(Integer cid);

    List<Type> selectInfo();
}
